﻿using System;
using System.Windows.Input;

namespace ClientOverflow.ViewModels.Interfaces
{
    /// <summary>
    /// Interface used to declare the contract of answer view model. This interface is instantiated by
    /// the QuestionAnswerViewModel class.
    /// </summary>
    public interface IQuestionAnswerViewModel
    {
        int Votes { get; }
        ICommand VoteUpCommand { get; }
        ICommand VoteDownCommand { get; }
        ICommand ChooseAnswerCommand { get; }
        string Content { get; }
        bool IsCorrect { get; }
        event Action AnswerChosen;
    }
}